package tree;

/**
 * Interface for objects interested in PageTree changes.
 * @author TKington
 *
 */
public interface ITreeListener {
	/**
	 * Called when the tree selection changes.
	 * @param newPage the newly selected PageNode
	 */
	public void treeSelectionChanged(PageNode newPage);
	
	/**
	 * Called when the tree structure changes.
	 *
	 */
	public void treeChanged();
}
